import scripts.grassUtils.RecipeUtils;
import crafttweaker.liquid.ILiquidStack;

#移除桶熔融钢
mods.tconstruct.Melting.removeRecipe(<liquid:steel>, <minecraft:bucket>);

#移除末影锭合金配方
mods.tconstruct.Alloy.removeRecipe(<liquid:enderium>);

#模具箱
RecipeUtils.recipeTweak(true, <tconstruct:tooltables:4>,
[[<ore:plankWood>,<tconstruct:pattern>,<ore:plankWood>],
[<ore:plankWood>,<ore:slabWood>,<ore:plankWood>],
[<ore:stickWood>,<ore:slabWood>,<ore:stickWood>]]);

#焦黑砖
furnace.remove(<tconstruct:materials>);
mods.tconstruct.Casting.addTableRecipe(<tconstruct:materials>, <ceramics:unfired_clay:5>, <liquid:stone>, 144, true, 40);

#焦黑石砖
mods.tconstruct.Casting.addBasinRecipe(<tconstruct:seared:3>, <ceramics:clay_hard>, <liquid:stone>, 576, true, 80);

#浇筑台
recipes.remove(<tconstruct:casting>);
mods.tconstruct.Casting.addBasinRecipe(<tconstruct:casting>, <tcomplement:porcelain_casting>, <liquid:stone>, 1008, true, 100);

#浇筑盆
recipes.remove(<tconstruct:casting:1>);
mods.tconstruct.Casting.addBasinRecipe(<tconstruct:casting:1>, <tcomplement:porcelain_casting:1>, <liquid:stone>, 1008, true, 100);

#手柄 金 锡 铝
mods.tconstruct.Casting.addTableRecipe(<contenttweaker:llr_item_3>, <tconstruct:cast>.withTag({PartType: "tconstruct:tool_rod"}), <liquid:gold>, 144, false, 200);
mods.tconstruct.Casting.addTableRecipe(<contenttweaker:llr_item_3>, <tconstruct:clay_cast>.withTag({PartType: "tconstruct:tool_rod"}), <liquid:gold>, 144, true, 200);
mods.tconstruct.Melting.addRecipe(<liquid:gold>*144,<contenttweaker:llr_item_3>);
mods.tconstruct.Casting.addTableRecipe(<contenttweaker:llr_item_5>, <tconstruct:cast>.withTag({PartType: "tconstruct:tool_rod"}), <liquid:tin>, 144, false, 200);
mods.tconstruct.Casting.addTableRecipe(<contenttweaker:llr_item_5>, <tconstruct:clay_cast>.withTag({PartType: "tconstruct:tool_rod"}), <liquid:tin>, 144, true, 200);
mods.tconstruct.Melting.addRecipe(<liquid:tin>*144,<contenttweaker:llr_item_5>);
mods.tconstruct.Casting.addTableRecipe(<contenttweaker:llr_item_4>, <tconstruct:cast>.withTag({PartType: "tconstruct:tool_rod"}), <liquid:aluminum>, 144, false, 200);
mods.tconstruct.Casting.addTableRecipe(<contenttweaker:llr_item_4>, <tconstruct:clay_cast>.withTag({PartType: "tconstruct:tool_rod"}), <liquid:aluminum>, 144, true, 200);
mods.tconstruct.Melting.addRecipe(<liquid:aluminum>*144,<contenttweaker:llr_item_4>);

#通透玻璃
mods.tconstruct.Melting.removeRecipe(<liquid:glass>,<minecraft:sand:*>);
mods.tconstruct.Melting.addRecipe(<liquid:glass> * 500,<minecraft:sand:*>, 500);
mods.tconstruct.Casting.addBasinRecipe(<tconstruct:clear_glass>,<ore:sand>, <liquid:glass>, 500, true, 100);

#空白模具
recipes.remove(<tconstruct:pattern:0>);
recipes.addShapedMirrored(<tconstruct:pattern:0>,
[[<ore:stickWood>,<ore:plankWood>],
[<ore:plankWood>,<ore:stickWood>]]);

#石柄火把
recipes.addShaped(<tconstruct:stone_torch:0> * 4,
[[<realistictorches:glowstone_crystal>],
[<ore:rodStone>]]);

#合成站
RecipeUtils.recipeTweak(true, <tconstruct:tooltables:0>,
[[<hopperducts:hopperduct>,<minecraft:crafting_table>,<hopperducts:hopperduct>],
[<ore:slabWood>,<ore:chestWood>,<ore:slabWood>],
[<ore:plankWood>,null,<ore:plankWood>]]);

#木漏斗
RecipeUtils.recipeTweak(true, <tconstruct:wooden_hopper>,
[[<ore:plankWood>,null,<ore:plankWood>],
[<ore:plankWood>,<extrautils2:minichest>,<ore:plankWood>],
[null,<ore:plankWood>,null]]);

#冶炼炉控制器
RecipeUtils.recipeTweak(true, <tconstruct:smeltery_controller>,
[[<tconstruct:materials>, <tconstruct:materials>, <tconstruct:materials>],
[<tconstruct:materials>, <tcomplement:porcelain_melter>, <tconstruct:materials>],
[<tconstruct:materials>, <tconstruct:materials>, <tconstruct:materials>]]);

#微缩陶瓷冶炼炉
RecipeUtils.recipeTweak(true, <tcomplement:porcelain_melter>,
[[null, <ceramics:unfired_clay:5>, null],
[<ceramics:unfired_clay:5>, null, <ceramics:unfired_clay:5>],
[<ceramics:unfired_clay:5>, <ceramics:unfired_clay:5>, <ceramics:unfired_clay:5>]]);

#蓝色 紫色 熔岩 史莱姆树苗
mods.actuallyadditions.Empowerer.addRecipe(<tconstruct:slime_sapling>, <minecraft:sapling:2>, <actuallyadditions:item_crystal_empowered:2>, <minecraft:milk_bucket>, <ic2:nuclear:3>, <thermalfoundation:material:167>, 1500000, 6000);
mods.actuallyadditions.Empowerer.addRecipe(<tconstruct:slime_sapling:1>, <tconstruct:slime_sapling>, <actuallyadditions:block_crystal_empowered:3>, <threng:material>, <ore:dyePurple>, <thermalfoundation:material:167>, 1500000, 6000);
mods.actuallyadditions.Empowerer.addRecipe(<tconstruct:slime_sapling:2>, <tconstruct:slime_sapling>, <actuallyadditions:block_crystal_empowered>, <extrautils2:ingredients:11>, <minecraft:magma_cream>, <thermalfoundation:material:167>, 1500000, 6000);
